package com.conception.designpattern.telescopingconstructor;

public class NutritionFacts {

	private final int intServing; //ml req
	private final int serving;// ml req
	private final int calories; // optional
	private final int fat; // opt
	private final int sodium; // opt
	
	
	public NutritionFacts(int intServing, int serving) {
		this(intServing,serving,0);
	}


	public NutritionFacts(int intServing, int serving, int calories) {
		this(intServing,serving,calories,0);
	}


	public NutritionFacts(int intServing, int serving, int calories, int fat) {
		this(intServing,serving,calories,fat,0);
	}


	public NutritionFacts(int intServing, int serving, int calories,
			int fat, int sodium) {
		this.intServing = intServing;
		this.serving = serving;
		this.calories = calories;
		this.fat = fat;
		this.sodium = sodium;
	}
	
}
